from ftllibs.items.itemtools import ItemIconData

class Item_3004():
    def __init__(self):
        self.parent=False
        self.Name="Manamune"
        self.IconFileName="3004.png"
        self.ID=3004
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['3070','1027','1005','1036']
        self.Builds_Into=[]
        self.Tags=['damage','mana','mana_regen']
        self.Costs = 700
        self.Total_Costs = 2110
        self.Description="+350 Mana +7 Mana Regen per 5 seconds +20 Attack Damage  UNIQUE Passive: Grants Attack Damage equal to 2% of your maximum Mana.  UNIQUE Passive: Each time you basic attack, your maximum Mana increases by 1 (3 second cooldown). Each time you use an ability, your maximum Mana increases by 4 (3 second cooldown). Bonus caps at +1000 Mana. Does not stack with Tear of the Goddess or Archangel's Staff."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Mana += 350.0
        self.parent.Mana_Regen_per_5_seconds += 7.0
        self.parent.Attack_Damage += 20.0
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass

